<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>Researcher Error</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
  </head>
  
  <body>
    Researcher: ${actionBean.name}<br />
    <table id="MessageTable">
      <tr><td><font color="orange">${actionBean.message}</font></td></tr>
    </table>
    <br />
    The following Organization within this Researcher might not exists, please fix it asap:
    <table id="researcherError" class="plainTable" border="1">
    	<c:forEach var="name" items="${actionBean.invalidReferenceInResearcher}">
        <tr>
        <td>${name}</td>
        <td>
          <stripes:link href="/Organization.action" event="edit" target="new">
            <stripes:param name="name" value="${name}"/>Add it now.
          </stripes:link>
        </td>
        </tr>
        </c:forEach>
    </table>
    <stripes:link href="/Researcher.action" event="listResearcher" target="main">
    	Return to Researcher List.
    </stripes:link>
  </body>
</html>